package com.demo.controller;

import com.demo.service.DetailService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: demo1
 * @BelongsPackage: com.demo.controller
 * @Author: fwx
 * @CreateTime: 2023-03-01  15:59
 * @Description: TODO
 * @Version: 1.0
 */
@RestController
public class DetailController {

    @Resource
    private DetailService detailService;

    @GetMapping("/getBalanceDetail")
    public void getBalanceDetail(String accountNumber){
        detailService.getBalanceDetail(accountNumber);
    }
}
